package com.example.springcloud.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.example.springcloud.entity.Dept;

@Mapper
public interface DeptDao {

	boolean addDept(Dept dept);
	
	
	Dept getDeptById(@Param("deptno") Long deptno);
	
	List<Dept> getAll();
}
